package com.example.scoredemo

import android.app.Application
import kotlin.properties.Delegates


/**
 *@time : 2021/3/29
 *@author :muzi102
 *@Description
 */
public class MyApplication : Application() {
    companion object {
        var instance: MyApplication by Delegates.notNull()
        fun instance() = instance
    }

    override fun onCreate() {
        super.onCreate()
        instance = this
    }
}